﻿<UserControl x:Class="Historia.Controls.ctrChapitres"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <DockPanel LastChildFill="True">
        <Label DockPanel.Dock="Top">
            <Label.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFB7B7FF" Offset="1" />
                    <GradientStop Color="White" Offset="0" />
                </LinearGradientBrush>
            </Label.Background> Chapitres</Label>
        <StackPanel DockPanel.Dock="Top" Orientation="Horizontal" Background="#FFB7B7FF">
            <Button Name="btnNouveauChapitre" ToolTip="Nouveau Chapitre" BorderBrush="{x:Null}" Background="{x:Null}" Focusable="False" Click="btnNouveauChapitre_Click" BorderThickness="0">
                <Image Source="/Historia;component/Images/Nouveau.png" Stretch="None"></Image>
            </Button>
            <Button Name="btnNouvelleScene" ToolTip="Nouvelle Scène" BorderBrush="{x:Null}" Background="{x:Null}" Focusable="False" Click="btnNouvelleScene_Click" BorderThickness="0">
                <Image Source="/Historia;component/Images/nouvelle-scene.png" Stretch="None"></Image>
            </Button>
            <Button Name="btnCopierScene" ToolTip="Copier Scène" BorderBrush="{x:Null}" Background="{x:Null}" Focusable="False" BorderThickness="0" Click="btnCopierScene_Click">
                <Image Source="/Historia;component/Images/Copier.png" Stretch="None"></Image>
            </Button>
            <Button Name="btnSupprimer" ToolTip="Supprimer" BorderBrush="{x:Null}" Background="{x:Null}" Focusable="False" Click="btnSupprimer_Click" BorderThickness="0">
                <Image Source="/Historia;component/Images/Supprimer.png" Stretch="None"></Image>
            </Button>
            <Button Name="btnDeplacerHaut" ToolTip="Déplacer vers le haut" BorderBrush="{x:Null}" Background="{x:Null}" Focusable="False" Click="btnDeplacerHaut_Click" BorderThickness="0">
                <Image Source="/Historia;component/Images/Haut.png" Stretch="None"></Image>
            </Button>
            <Button Name="btnDeplacerBas" ToolTip="Déplacer vers le bas" BorderBrush="{x:Null}" Background="{x:Null}" Focusable="False" Click="btnDeplacerBas_Click" BorderThickness="0">
                <Image Source="/Historia;component/Images/bas.png" Stretch="None"></Image>
            </Button>
            <Button Name="btnAgrandirTout" ToolTip="Agrandir tout" BorderBrush="{x:Null}" Background="{x:Null}" Focusable="False" Click="btnAgrandirTout_Click" BorderThickness="0">
                <Image Source="/Historia;component/Images/expand-icon.png" Stretch="None"></Image>
            </Button>
            <Button Name="btnRefermerTout" ToolTip="Refermer tout" BorderBrush="{x:Null}" Background="{x:Null}" Focusable="False" Click="btnRefermerTout_Click" BorderThickness="0" Padding="0">
                <Image Source="/Historia;component/Images/collaps-icon.png" Stretch="None"></Image>
            </Button>
        </StackPanel>
        <TreeView Name="tvChapitres" SelectedItemChanged="tvChapitres_SelectedItemChanged">
            
            
        </TreeView>
    </DockPanel>
</UserControl>
